package leetcode.violence;

public class step {
    public static void main(String[] args) {
        System.out.println(process(3));
    }

    private static int process(int aim) {
        if (aim < 1) {
            return 0;
        }
        if (aim == 1 || aim == 2) {
            return aim;
        }
        return process(aim - 1) + process(aim - 2);
    }

}
